home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / bash-1.12 / dist / machines.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-12-15  |  33.3 KB  |  1,249 lines

  1. /* machines.h --
  2.    Included file in the makefile that gets run through Cpp.  This file
  3.    tells which machines have what features based on the unique machine
  4.    identifier present in Cpp. */
  5.  
  6. /* **************************************************************** */
  7. /*                                                                  */
  8. /*                Global Assumptions (true for most systems).       */
  9. /*                                                                  */
  10. /* **************************************************************** */
  11.  
  12. /* We make some global assumptions here.  This can be #undef'ed in
  13.    various machine specific entries. */
  14.  
  15. /* If this file is being processed with Gcc, then the user has Gcc. */
  16. #if defined (__GNUC__)
  17. #  if !defined (HAVE_GCC)
  18. #    define HAVE_GCC
  19. #  endif /* HAVE_GCC */
  20. #endif /* __GNUC__ */
  21.  
  22. /* Assume that all machines have the getwd () system call.  We unset it
  23.    for USG systems. */
  24. #define HAVE_GETWD
  25.  
  26. /* Assume that all systems have a working getcwd () call.  We unset it for
  27.    ISC systems. */
  28. #define HAVE_GETCWD
  29.  
  30. /* Most (but not all) systems have a good, working version of dup2 ().
  31.    For systems that don't have the call (HP/UX), and for systems
  32.    that don't set the open-on-exec flag for the dup'ed file descriptors,
  33.    (Sequents running Dynix, Ultrix), #undef HAVE_DUP2 in the machine
  34.    description. */
  35. #define HAVE_DUP2
  36.  
  37. /* Every machine that has Gcc has alloca as a builtin in Gcc.  If you are
  38.    compiling Bash without Gcc, then you must have alloca in a library,
  39.    in your C compiler, or be able to assemble or compile the alloca source
  40.    that we ship with Bash. */
  41. #define HAVE_ALLOCA
  42.  
  43. /* We like most machines to use the GNU Malloc routines supplied in the
  44.    source code because they provide high quality error checking.  On
  45.    some machines, our malloc () cannot be used (because of library
  46.    conflicts, for example), and for those, you should specifically
  47.    #undef USE_GNU_MALLOC in the machine description. */
  48. #define USE_GNU_MALLOC
  49.  
  50. /* **************************************************************** */
  51. /*                                    */
  52. /*            Sun Microsystems Machines                  */
  53. /*                                    */
  54. /* **************************************************************** */
  55. /* ******************************** */
  56. /*                    */
  57. /*       Sun Sprite            */
  58. /*                    */
  59. /* ******************************** */
  60.  
  61. #if defined(sun) && defined(sprite)
  62. #define M_MACHINE "sun4"
  63. #define M_OS Sprite
  64. #define REQUIRED_LIBRARIES
  65. #define HAVE_SYS_SIGLIST
  66. #define HAVE_SETLINEBUF
  67. #define HAVE_VFPRINTF
  68. #define HAVE_GETGROUPS
  69. #define SYSDEP_CFLAGS
  70. #define HAVE_STRERROR 
  71. #define VOID_SIGHANDLER 
  72. #undef USE_GNU_MALLOC
  73. #else
  74.  
  75. #if defined (sun)
  76.  
  77. /* We aren't currently using GNU Malloc on Suns because of a bug in Sun's
  78.    YP which bites us when Sun free ()'s an already free ()'ed address.
  79.    When Sun fixes their YP, we can start using our winning malloc again. */
  80. #  undef USE_GNU_MALLOC
  81.  
  82. /* Most Sun systems have signal handler functions that are void. */
  83. #  define VOID_SIGHANDLER
  84.  
  85. #  if defined (mc68010)
  86. #    define sun2
  87. #  endif
  88. #  if defined (mc68020)
  89. #    define sun3
  90. #  endif
  91. #  if defined (sparc)
  92. #    define sun4
  93. #  endif
  94. #  if defined (i386)
  95. #    define Sun386i
  96. #  endif
  97. #if defined (HAVE_SHARED_LIBS)
  98. #  define M_OS SunOS4
  99. #  define SunOS4_SYSDEP_CFLAGS -DBSD_GETPGRP
  100. #else
  101. #  if !defined (sparc)
  102. #     undef VOID_SIGHANDLER
  103. #  endif
  104. #  define M_OS SunOS3
  105. #endif
  106. #endif /* sun */
  107.  
  108. /* ************************ */
  109. /*                */
  110. /*        Sun2        */
  111. /*                */
  112. /* ************************ */
  113. #if defined (sun2)
  114. #define M_MACHINE "sun2"
  115. #define HAVE_SYS_SIGLIST
  116. #define HAVE_SETLINEBUF
  117. #define HAVE_VFPRINTF
  118. #define HAVE_GETGROUPS
  119. #endif /* sun2 */
  120.  
  121. /* ************************ */
  122. /*                */
  123. /*        Sun3        */
  124. /*                */
  125. /* ************************ */
  126. #if defined (sun3)
  127. #define M_MACHINE "sun3"
  128. #if defined (SunOS4_SYSDEP_CFLAGS)
  129. #  define SYSDEP_CFLAGS SunOS4_SYSDEP_CFLAGS
  130. #endif /* SunOS4 */
  131. #define HAVE_SYS_SIGLIST
  132. #define HAVE_SETLINEBUF
  133. #define HAVE_VFPRINTF
  134. #define HAVE_GETGROUPS
  135. #endif /* sun3 */
  136.  
  137. /* ************************ */
  138. /*                */
  139. /*        Sparc        */
  140. /*                */
  141. /* ************************ */
  142. #if defined (sun4)
  143. #define M_MACHINE "sparc"
  144. #if defined (SunOS4_SYSDEP_CFLAGS)
  145. #  define SYSDEP_CFLAGS SunOS4_SYSDEP_CFLAGS
  146. #endif /* SunOS4 */
  147. #define HAVE_SYS_SIGLIST
  148. #define HAVE_SETLINEBUF
  149. #define HAVE_VFPRINTF
  150. #define HAVE_GETGROUPS
  151. #endif /* sparc */
  152.  
  153. /* ************************ */
  154. /*                */
  155. /*        Sun386i        */
  156. /*                */
  157. /* ************************ */
  158. #if defined (Sun386i)
  159. #define done386
  160. #define M_MACHINE "Sun386i"
  161. #if defined (SunOS4_SYSDEP_CFLAGS)
  162. #  define SYSDEP_CFLAGS SunOS4_SYSDEP_CFLAGS
  163. #endif /* SunOS4 */
  164. #define HAVE_SYS_SIGLIST
  165. #define HAVE_SETLINEBUF
  166. #define HAVE_VFPRINTF
  167. #define HAVE_GETGROUPS
  168. #endif /* Sun386i */
  169.  
  170. #endif /* sprite */
  171. /* **************************************************************** */
  172. /*                                    */
  173. /*            DEC Machines (vax, decstations)           */
  174. /*                                    */
  175. /* **************************************************************** */
  176.  
  177. /* ************************ */
  178. /*                */
  179. /*        Ultrix        */
  180. /*                */
  181. /* ************************ */
  182. #if defined (ultrix)
  183. #if defined (MIPSEL)
  184. #  undef HAVE_ALLOCA_H
  185. #  define M_MACHINE "MIPSEL"
  186. #  if !defined (HAVE_GCC)
  187. #    define MIPS_CFLAGS -Wf,-XNl3072
  188. #  endif
  189. #else /* !MIPSEL */
  190. #  define M_MACHINE "vax"
  191. #endif /* MIPSEL */
  192. #if defined (MIPS_CFLAGS)
  193. #  define SYSDEP_CFLAGS -DBSD_GETPGRP -DTERMIOS_MISSING MIPS_CFLAGS
  194. #else
  195. #  define SYSDEP_CFLAGS -DBSD_GETPGRP -DTERMIOS_MISSING
  196. #endif
  197. #define M_OS Ultrix
  198. #define VOID_SIGHANDLER
  199. #define HAVE_SYS_SIGLIST
  200. #define HAVE_SETLINEBUF
  201. #define HAVE_VFPRINTF
  202. #define HAVE_GETGROUPS
  203. #undef HAVE_DUP2
  204. #endif /* ultrix */
  205.  
  206. /* ************************ */
  207. /*                */
  208. /*    VAX 4.3 BSD        */
  209. /*                */
  210. /* ************************ */
  211. #if defined (vax) && !defined (ultrix)
  212. #define M_MACHINE "vax"
  213. #define M_OS Bsd
  214. #define HAVE_SETLINEBUF
  215. #define HAVE_SYS_SIGLIST
  216. #define HAVE_GETGROUPS
  217. #endif /* vax && !ultrix */
  218.  
  219. /* **************************************** */
  220. /*                        */
  221. /*        SGI Iris/IRIX                */
  222. /*                        */
  223. /* **************************************** */
  224. #if defined (sgi)
  225. #  if defined (Irix3)
  226. #    define M_OS "Irix3"
  227. #    define MIPS_CFLAGS -real_frameptr -Wf,-XNl3072
  228. #    undef HAVE_ALLOCA
  229. #  endif /* Irix3 */
  230. #  if defined (Irix4)
  231. #    define M_OS "Irix4"
  232. #    define MIPS_CFLAGS -Wf,-XNl3072
  233. #  endif /* Irix4 */
  234. #define M_MACHINE "sgi"
  235. #define HAVE_GETGROUPS
  236. #define VOID_SIGHANDLER
  237. #define HAVE_SYS_SIGLIST
  238. #define HAVE_SETLINEBUF
  239. #define HAVE_VFPRINTF
  240. #define REQUIRED_LIBRARIES -lsun
  241. #if defined (HAVE_GCC) || !defined (mips)
  242. #  undef MIPS_CFLAGS
  243. #  define MIPS_CFLAGS
  244. #endif /* HAVE_GCC || !mips */
  245. #define SYSDEP_CFLAGS -DUSG -DPGRP_PIPE MIPS_CFLAGS
  246. #undef HAVE_GETWD
  247. #endif  /* sgi */
  248.  
  249. /* ************************ */
  250. /*                */
  251. /*        Sony        */
  252. /*                */
  253. /* ************************ */
  254. #if defined (sony)
  255. #if defined (MIPSEB)
  256. #  define M_MACHINE "MIPSEB"
  257. #else
  258. #  define M_MACHINE "sony"
  259. #endif
  260.  
  261. #if defined (SYSTYPE_SYSV) || defined (USGr4)
  262. #  define M_OS USG
  263. #  undef HAVE_GETWD
  264. #  define HAVE_VFPRINTF
  265. #  define VOID_SIGHANDLER
  266.    /* Alloca requires either Gcc or cc with -lucb. */
  267. #  if !defined (HAVE_GCC)
  268. #    define EXTRA_LIB_SEARCH_PATH /usr/ucblib
  269. #    define REQUIRED_LIBRARIES -lc -lucb
  270. #  endif /* !HAVE_GCC */
  271. #  if defined (MIPSEB)
  272. #    if !defined (HAVE_GCC)
  273. #      define SYSDEP_CFLAGS -Wf,-XNl3072 -DUSGr4
  274. #    else
  275. #      define SYSDEP_CFLAGS -DUSGr4
  276. #    endif /* HAVE_GCC */
  277. #  else
  278. #    define SYSDEP_CFLAGS -DUSGr4
  279. #  endif /* MIPSEB */
  280. #else
  281. #  define M_OS Bsd
  282. #endif /* SYSTYPE_SYSV */
  283. #define HAVE_SYS_SIGLIST
  284. #define HAVE_SETLINEBUF
  285. #define HAVE_GETGROUPS
  286. #endif /* sony */
  287.  
  288. /* ******************************** */
  289. /*                    */
  290. /*       MIPS Sprite            */
  291. /*                    */
  292. /* ******************************** */
  293.  
  294. #if defined(mips) && defined(sprite)
  295. #define M_MACHINE "MIPSEL"
  296. #define M_OS Sprite
  297. #define REQUIRED_LIBRARIES
  298. #define HAVE_SYS_SIGLIST
  299. #define HAVE_SETLINEBUF
  300. #define HAVE_VFPRINTF
  301. #define HAVE_GETGROUPS
  302. #define SYSDEP_CFLAGS -Uultrix -D"sprite" -Dds3100
  303. #define HAVE_STRERROR 
  304. #define VOID_SIGHANDLER 
  305. #undef USE_GNU_MALLOC
  306. #endif
  307.  
  308. /* ******************************** */
  309. /*                    */
  310. /*       MIPS RISC/os            */
  311. /*                    */
  312. /* ******************************** */
  313.  
  314. /* Notes on compiling with "make":
  315.  
  316.    * Place /bsd43/bin in your PATH before /bin.
  317.    * Use `$(CC) -E' instead of `/lib/cpp' in Makefile.
  318. */
  319. #if defined (mips) && !defined (M_MACHINE)
  320.  
  321. #if defined (MIPSEB)
  322. #  define M_MACHINE "MIPSEB"
  323. #else
  324. #  if defined (MIPSEL)
  325. #    define M_MACHINE "MIPSEL"
  326. #  else
  327. #    define M_MACHINE "mips"
  328. #  endif /* MIPSEL */
  329. #endif /* MIPSEB */
  330.  
  331. #define M_OS Bsd
  332.  
  333. /* Special things for machines from MIPS Co. */
  334. #define mips_CFLAGS -DOPENDIR_NOT_ROBUST -DPGRP_PIPE
  335.  
  336. #if defined (HAVE_GCC)
  337. #  define SYSDEP_CFLAGS mips_CFLAGS
  338. #else
  339. #  define SYSDEP_CFLAGS -Wf,-XNl3072 -systype bsd43 mips_CFLAGS
  340. #endif /* !HAVE_GCC */
  341. #define HAVE_SYS_SIGLIST
  342. #define HAVE_SETLINEBUF
  343. #define HAVE_VFPRINTF
  344. #define HAVE_GETGROUPS
  345. /* This is actually present but unavailable in the BSD universe? */
  346. #undef HAVE_UNISTD_H
  347. #if !defined (HAVE_RESOURCE)
  348. #  define HAVE_RESOURCE
  349. #endif
  350. /* Appears not to work correctly, so why use it? */
  351. #undef HAVE_WAIT_H
  352. #endif /* mips */
  353.  
  354. /* ************************ */
  355. /*                */
  356. /*      Pyramid        */
  357. /*                */
  358. /* ************************ */
  359. #if defined (pyr)
  360. #define M_MACHINE "Pyramid"
  361. #define M_OS Bsd
  362. #if !defined (HAVE_GCC)
  363. #  undef HAVE_ALLOCA
  364. #endif /* HAVE_GCC */
  365. #define HAVE_SYS_SIGLIST
  366. #define HAVE_SETLINEBUF
  367. /* #define HAVE_VFPRINTF */
  368. #define HAVE_GETGROUPS
  369. #endif /* pyr */
  370.  
  371. /* ************************ */
  372. /*                */
  373. /*        IBMRT        */
  374. /*                */
  375. /* ************************ */
  376. /* Notes:  Compiling with pcc seems to work better than compiling with
  377.    the hc compiler.  I had problems when compiling with hc with alloca,
  378.    even though the -ma flag was defined.  (bfox) */
  379. #if defined (ibm032)
  380. #define M_MACHINE "IBMRT"
  381. #define M_OS Bsd
  382. #define HAVE_SYS_SIGLIST
  383. #define HAVE_SETLINEBUF
  384. /* Some systems cannot find vfprintf at load time. */
  385. /* #define HAVE_VFPRINTF */
  386. /* Alloca requires either gcc or pcc with -ma in SYSDEP_CFLAGS. */
  387. #if !defined (HAVE_GCC)
  388. #  define SYSDEP_CFLAGS -ma -U__STDC__
  389. #endif
  390. #define HAVE_GETGROUPS
  391. /* #define USE_GNU_TERMCAP */
  392. #endif /* ibm032 */
  393.  
  394.  
  395. /* **************************************************************** */
  396. /*                                    */
  397. /*      All Intel 386 Processor Machines are Defined Here!        */
  398. /*                                    */
  399. /* **************************************************************** */
  400.  
  401. #if defined (i386)
  402.  
  403. /* **************************************************************** */
  404. /*                                                                  */
  405. /*                       Sequent Machines                           */
  406. /*                                                                  */
  407. /* **************************************************************** */
  408.  
  409. /* Sequent Symmetry running Dynix/ptx (System V.3.2) */
  410. #  if !defined (done386) && defined (_SEQUENT_)
  411. #    define done386
  412. #    define M_MACHINE "Symmetry"
  413. #    define M_OS USG
  414. #    define SYSDEP_CFLAGS -DUSGr3
  415. #    define HAVE_VFPRINTF
  416. #    define VOID_SIGHANDLER
  417. #    define HAVE_ALLOCA
  418. #    define REQUIRED_LIBRARIES -lPW -lseq
  419. #    undef HAVE_GETWD
  420. #    undef HAVE_RESOURCE
  421. #  endif /* _SEQUENT_ */
  422.  
  423. /* Sequent Symmetry running Dynix (4.2 BSD) */
  424. #  if !defined (done386) && defined (sequent)
  425. #    define done386
  426. #    define M_MACHINE "Symmetry"
  427. #    define M_OS Bsd
  428. #    define SYSDEP_CFLAGS -DCPCC -DHAVE_SETDTABLESIZE
  429. #    define HAVE_SETLINEBUF
  430. #    define HAVE_SYS_SIGLIST
  431. #    define HAVE_GETGROUPS
  432. #    undef HAVE_DUP2
  433. #  endif /* Sequent 386 */
  434.  
  435. /* Generic 386 clone running Mach (4.3 BSD-compatible). */
  436. #  if !defined (done386) && defined (MACH)
  437. #    define done386
  438. #    define M_MACHINE "i386"
  439. #    define M_OS Bsd
  440. #    define HAVE_SETLINEBUF
  441. #    define HAVE_SYS_SIGLIST
  442. #    define HAVE_GETGROUPS
  443. #  endif /* i386 && MACH */
  444.  
  445. /* AIX/PS2 1.2 for the 386. */
  446. #  if !defined (done386) && defined (aixpc)
  447. #    define done386
  448. #    define M_MACHINE "aixpc"
  449. #    define M_OS AIX
  450. #    define HAVE_VFPRINTF
  451. #    define VOID_SIGHANDLER
  452. #    define SYSDEP_CFLAGS -D_BSD
  453. #    define REQUIRED_LIBRARIES -lbsd
  454. #    define HAVE_GETGROUPS
  455. #    if !defined (HAVE_GCC)
  456. #      undef HAVE_ALLOCA
  457. #      undef HAVE_ALLOCA_H
  458. #    endif /* !HAVE_GCC */
  459. #  endif /* AIXPC i386 */
  460.  
  461. /* System V Release 4 on the 386 */
  462. #  if !defined (done386) && defined (USGr4)
  463. #    define done386
  464. #    define M_MACHINE "i386"
  465. #    define M_OS USG
  466. #    define HAVE_SYS_SIGLIST
  467. #    define HAVE_VFPRINTF
  468. #    define VOID_SIGHANDLER
  469.      /* Alloca requires either Gcc or cc with -lucb. */
  470. #    if !defined (HAVE_GCC)
  471. #      define EXTRA_LIB_SEARCH_PATH /usr/ucblib
  472. #      define REQUIRED_LIBRARIES -lc -lucb
  473. #    endif /* !HAVE_GCC */
  474. #    define HAVE_GETGROUPS
  475. #    define SYSDEP_CFLAGS -DUSGr4
  476. #    undef HAVE_GETWD
  477. #  endif /* System V Release 4 on i386 */
  478.  
  479. /* 386 box running Interactive Unix 2.2 or greater. */
  480. #  if !defined (done386) && defined (isc386)
  481. #    define done386
  482. #    define M_MACHINE "isc386"
  483. #    define M_OS USG
  484. #    define HAVE_VFPRINTF
  485. #    define VOID_SIGHANDLER
  486. #    define HAVE_GETGROUPS
  487. #    if !defined (HAVE_GCC)
  488. #      define REQUIRED_LIBRARIES -lPW -lc_s
  489. #      define SYSDEP_LDFLAGS -Xp
  490.        /* ISC's wait.h requires lots of POSIX junk.  Forget it. */
  491. #      undef HAVE_WAIT_H
  492. #    endif
  493. #    if defined (NOTDEF)
  494.        /* libcposix.a contains putc, getc, fileno. */
  495. #      define REQUIRED_LIBRARIES -lcposix
  496. #    endif /* NOTDEF */
  497. #    undef HAVE_GETWD
  498. #    undef HAVE_GETCWD
  499.      /* <sys/types.h> uses mode_t, but doesn't define it unless
  500.     _POSIX_SOURCE is defined.  But when _POSIX_SOURCE is defined,
  501.     <signal.h> tries to use pid_t without including <sys/types.h>!
  502.     What a mess.
  503.  
  504.     ISC's <sys/fcntl.h> doesn't want to define O_NDELAY if __STDC__
  505.     is defined.  We fix that here also.  */
  506. #    if defined (__STDC__) || defined (HAVE_GCC)
  507. #      define SYSDEP_CFLAGS -DUSGr3 -D_POSIX_SOURCE \
  508.     -Dmode_t="unsigned short" -DO_NDELAY=O_NONBLOCK -DPGRP_PIPE
  509. #    else
  510. #      define SYSDEP_CFLAGS -DUSGr3 -D_POSIX_SOURCE -DPGRP_PIPE
  511. #    endif /* __STDC__ || HAVE_GCC */
  512. #  endif /* isc386 */
  513.  
  514. /* Xenix386 machine. */
  515. #if !defined (done386) && defined (Xenix386)
  516. #  define done386
  517. #  define M_MACHINE "i386"
  518. #  define M_OS Xenix
  519. #  define SYSDEP_CFLAGS -DUSGr3 -DREVERSED_SETVBUF_ARGS
  520. #  define HAVE_VFPRINTF
  521. #  define VOID_SIGHANDLER
  522. #  define ALLOCA_ASM x386-alloca.s
  523. #  define REQUIRED_LIBRARIES -lx
  524. #  undef HAVE_ALLOCA
  525. #endif /* Xenix386 */
  526.  
  527. /* SCO UNIX 3.2 chip@count.tct.com (Chip Salzenberg) */
  528. #  if !defined (done386) && defined (M_UNIX)
  529. #    define done386
  530. #    define M_MACHINE "i386"
  531. #    define M_OS SCO
  532. #    define SYSDEP_CFLAGS -DUSG -DUSGr3
  533. #    define HAVE_VFPRINTF
  534. #    define VOID_SIGHANDLER
  535. #    define HAVE_GETGROUPS
  536. #    undef HAVE_GETWD
  537. #    undef HAVE_RESOURCE
  538. #  endif /* SCO Unix on 386 boxes. */
  539.  
  540. /* Assume a generic 386 running Sys V Release 3. */
  541. #  if !defined (done386)
  542. #    define done386
  543. #    define M_MACHINE "i386"
  544. #    define M_OS USG
  545. #    define SYSDEP_CFLAGS -DUSGr3
  546. #    define HAVE_VFPRINTF
  547. #    define VOID_SIGHANDLER
  548.      /* Alloca requires either Gcc or cc with libPW.a */
  549. #    if !defined (HAVE_GCC)
  550. #      define REQUIRED_LIBRARIES -lPW
  551. #    endif /* !HAVE_GCC */
  552. #    undef HAVE_GETWD
  553. #  endif /* Generic i386 Box running Sys V release 3. */
  554. #endif /* All i386 Machines with an `i386' define in cpp. */
  555.  
  556.  
  557. /* **************************************************************** */
  558. /*                                    */
  559. /*              Gould 9000 - UTX/32 R2.1A                */
  560. /*                                    */
  561. /* **************************************************************** */
  562. #if defined (gould)        /* Maybe should be GOULD_PN ? */
  563. #define M_MACHINE "gould"
  564. #define M_OS Bsd
  565. #define HAVE_SYS_SIGLIST
  566. #define HAVE_SETLINEBUF
  567. #define HAVE_GETGROUPS
  568. #endif /* gould */
  569.  
  570. /* ************************ */
  571. /*                */
  572. /*        NeXT        */
  573. /*                */
  574. /* ************************ */
  575. #if defined (NeXT)
  576. #define M_MACHINE "NeXT"
  577. #define M_OS Bsd
  578. #define HAVE_VFPRINTF
  579. #define HAVE_SYS_SIGLIST
  580. #define HAVE_GETGROUPS
  581. #define HAVE_STRERROR
  582. #define VOID_SIGHANDLER
  583. #undef USE_GNU_MALLOC
  584. #endif
  585.  
  586. /* ************************ */
  587. /*                */
  588. /*    hp9000 4.3 BSD        */
  589. /*                */
  590. /* ************************ */
  591. #if defined (hp9000) && !defined (hpux)
  592. #define M_MACHINE "hp9000"
  593. #define M_OS Bsd
  594. #undef HAVE_ALLOCA
  595. #define HAVE_SYS_SIGLIST
  596. #define HAVE_SETLINEBUF
  597. #define HAVE_GETGROUPS
  598. #endif /* hp9000 && !hpux */
  599.  
  600. /* ************************ */
  601. /*                */
  602. /*        hpux        */
  603. /*                */
  604. /* ************************ */
  605. #if defined (hpux)
  606. #define M_MACHINE "hpux"
  607.  
  608. /* This is for 6.2+ systems with job control. */
  609. #define M_OS HPUX
  610.  
  611. /* For HP-UX systems before 6.2, we don't have job control. */
  612. /* #undef M_OS */
  613. /* #define M_OS USG */
  614.  
  615. /* For HP-UX 7.0, we don't need the -lBSD. */
  616. #if defined (__hpux)
  617. #  define HPUX_70
  618. #endif
  619.  
  620. #if defined (HPUX_70)
  621. #  define SYSDEP_CFLAGS -DHPUX_70
  622. #  define REQUIRED_LIBRARIES -lPW
  623. #  undef HAVE_GETWD
  624. #else /* Not 7.0 OS version. */
  625. #  define REQUIRED_LIBRARIES -lPW -lBSD
  626. #endif /* __hpux */
  627.  
  628. #define HAVE_VFPRINTF
  629. #define VOID_SIGHANDLER
  630. #define HAVE_GETGROUPS
  631. #define HAVE_STRERROR
  632. #define SEARCH_LIB_NEEDS_SPACE
  633. #endif /* hpux */
  634.  
  635. /* ************************ */
  636. /*                */
  637. /*        Xenix286        */
  638. /*                */
  639. /* ************************ */
  640. #if defined (Xenix286)
  641. #define M_MACHINE "i286"
  642. #define M_OS Xenix
  643. #undef HAVE_ALLOCA
  644. #define REQUIRED_LIBRARIES -lx
  645. #define SYSDEP_CFLAGS -DREVERSED_SETVBUF_ARGS
  646. #endif
  647.  
  648. /* Xenix 386 box not caught in i386 case above. */
  649. #if !defined (M_MACHINE) && defined (Xenix386)
  650. #  define M_MACHINE "i386"
  651. #  define M_OS Xenix
  652. #  define SYSDEP_CFLAGS -DUSGr3 -DREVERSED_SETVBUF_ARGS
  653. #  define HAVE_VFPRINTF
  654. #  define VOID_SIGHANDLER
  655. #  define ALLOCA_ASM x386-alloca.s
  656. #  define REQUIRED_LIBRARIES -lx
  657. #  undef HAVE_ALLOCA
  658. #endif /* Xenix386 */
  659.  
  660. /* ************************ */
  661. /*                */
  662. /*        convex        */
  663. /*                */
  664. /* ************************ */
  665. #if defined (convex)
  666. #define M_MACHINE "convex"
  667. #define M_OS Bsd
  668. #undef HAVE_ALLOCA
  669. #define HAVE_SETLINEBUF
  670. #define HAVE_SYS_SIGLIST
  671. #define HAVE_GETGROUPS
  672. #endif /* convex */
  673.  
  674. /* ************************ */
  675. /*                */
  676. /*        AIX/RT        */
  677. /*                */
  678. /* ************************ */
  679. #if defined (aix) && !defined (aixpc)
  680. #define M_MACHINE "AIX"
  681. #define M_OS Bsd
  682. #undef HAVE_ALLOCA
  683. #define HAVE_VFPRINTF
  684. #define HAVE_SYS_SIGLIST
  685. #define VOID_SIGHANDLER
  686. #define HAVE_GETGROUPS
  687. #define USE_TERMCAP_EMULATION
  688. #endif /* AIX */
  689.  
  690. /* **************************************** */
  691. /*                        */
  692. /*        IBM RISC 6000            */
  693. /*                        */
  694. /* **************************************** */
  695. #if defined (RISC6000) || defined (_IBMR2)
  696. #define M_MACHINE "RISC6000"
  697. #define M_OS "AIX"
  698. #undef HAVE_GETWD
  699. #undef HAVE_ALLOCA
  700. #define HAVE_SYS_SIGLIST
  701. #define HAVE_SETLINEBUF
  702. #define HAVE_VFPRINTF
  703. #define VOID_SIGHANDLER
  704. #define USE_TERMCAP_EMULATION
  705. #define HAVE_GETGROUPS
  706. #define SYSDEP_CFLAGS -DNLS -DUSG
  707. #undef USE_GNU_MALLOC
  708. #endif /* RISC6000 */
  709.  
  710. /* **************************************** */
  711. /*                        */
  712. /*    u370 IBM AIX/370            */
  713. /*                        */
  714. /* **************************************** */
  715. #if defined (u370)
  716. #  if defined (_AIX370)
  717. #    define M_MACHINE "AIX370"
  718. #    define M_OS Bsd
  719. #    define REQUIRED_LIBRARIES -lbsd
  720. #    define HAVE_SETLINEBUF
  721. #    define HAVE_VFPRINTF
  722. #    define SYSDEP_CFLAGS -D_BSD
  723. #    define HAVE_GETGROUPS
  724. #    define USE_TERMCAP_EMULATION
  725. #    undef USE_GNU_MALLOC
  726. #  endif /* _AIX370 */
  727. #  if defined (USGr4) /* System V Release 4 on 370 series architecture. */
  728. #    define M_MACHINE "uxp"
  729. #    define M_OS USG
  730. #    define HAVE_SYS_SIGLIST
  731. #    define HAVE_VPRINTF
  732. #    define USE_GNU_MALLOC
  733. #    define VOID_SIGHANDLER
  734. #    if !defined (HAVE_GCC)
  735. #      undef HAVE_ALLOCA
  736. #      define EXTRA_LIB_SEARCH_PATH /usr/ucblib
  737. #      define REQUIRED_LIBRARIES -lc -lucb
  738. #    endif /* !HAVE_GCC */
  739. #    define HAVE_GETGROUPS
  740. #    define HAVE_RESOURCE
  741. #    define SYSDEP_CFLAGS -DUSGr4
  742. #    endif /* USGr4 */
  743. #endif /* u370 */  
  744.  
  745. /* ************************ */
  746. /*                */
  747. /*        ATT 3B        */
  748. /*                */
  749. /* ************************ */
  750. #if defined (att3b) || defined (u3b2)
  751. #if defined (att3b)
  752. #  define M_MACHINE "att3b"
  753. #  define HAVE_SYS_SIGLIST
  754. #else
  755. #  define M_MACHINE "u3b2"
  756. #endif
  757. #define M_OS USG
  758. #undef HAVE_GETWD
  759. #define HAVE_VFPRINTF
  760. #define VOID_SIGHANDLER
  761. /* For an AT&T Unix before V.3 take out the -DUSGr3 */
  762. #define SYSDEP_CFLAGS -DUSGr3
  763. /* Alloca requires either Gcc or cc with libPW.a. */
  764. #if !defined (HAVE_GCC)
  765. #  define REQUIRED_LIBRARIES -lPW
  766. #endif /* !HAVE_GCC */
  767. #endif /* att3b */
  768.  
  769. /* ************************ */
  770. /*                */
  771. /*        ATT 386        */
  772. /*                */
  773. /* ************************ */
  774. #if defined (att386)
  775. #define M_MACHINE "att386"
  776. #define M_OS USG
  777. #undef HAVE_GETWD
  778. /* Alloca requires either Gcc or cc with libPW.a. */
  779. #if !defined (HAVE_GCC)
  780. #  define REQUIRED_LIBRARIES -lPW
  781. #endif /* HAVE_GCC */
  782. #define HAVE_SYS_SIGLIST
  783. #define HAVE_VFPRINTF
  784. #define VOID_SIGHANDLER
  785. /* For an AT&T Unix before V.3 take out the -DUSGr3 */
  786. #define SYSDEP_CFLAGS -DUSGr3
  787. #endif /* att386 */
  788.  
  789. /* ************************ */
  790. /*                */
  791. /*        Encore        */
  792. /*                */
  793. /* ************************ */
  794. #if defined (MULTIMAX)
  795. #  if defined (n16)
  796. #    define M_MACHINE "Multimax32k"
  797. #  else
  798. #    define M_MACHINE "Multimax"
  799. #  endif /* n16 */
  800. #  if defined (UMAXV)
  801. #    define M_OS USG
  802. #    define REQUIRED_LIBRARIES -lPW
  803. #    define SYSDEP_CFLAGS -DUSGr3
  804. #    define HAVE_VFPRINTF
  805. #    define USE_TERMCAP_EMULATION
  806. #    define VOID_SIGHANDLER
  807. #  else
  808. #    if defined (CMU)
  809. #      define M_OS Mach
  810. #    else
  811. #      define M_OS Bsd
  812. #    endif /* CMU */
  813. #    define HAVE_SYS_SIGLIST
  814. #    define HAVE_STRERROR
  815. #    define HAVE_SETLINEBUF
  816. #  endif /* UMAXV */
  817. #  define HAVE_GETGROUPS
  818. #endif  /* MULTIMAX */
  819.  
  820. /* ******************************************** */
  821. /*                        */
  822. /*   Encore Series 91 (88K BCS w Job Control)    */
  823. /*                        */
  824. /* ******************************************** */
  825. #if defined (__m88k) && defined (__UMAXV__)
  826. #define M_MACHINE "Gemini"
  827. #define M_OS USG
  828. #define REQUIRED_LIBRARIES -lPW
  829. #define USE_TERMCAP_EMULATION
  830. #define HAVE_VFPRINTF
  831. #define HAVE_GETGROUPS
  832. #define VOID_SIGHANDLER
  833. #define SYSDEP_CFLAGS -q ext=pcc -D_POSIX_JOB_CONTROL -D_POSIX_VERSION \
  834.               -Dmalloc=_malloc -Dfree=_free -Drealloc=_realloc
  835. #endif  /* m88k */
  836.  
  837. /* ******************************************** */
  838. /*                        */
  839. /*    System V Release 4 on the ICL DRS6000     */
  840. /*                        */
  841. /* ******************************************** */
  842. #if defined (drs6000)
  843. #define M_MACHINE "drs6000"
  844. #define M_OS USG
  845. #define SYSDEP_CFLAGS -Xa -DUSGr4 -Dsys_siglist=_sys_siglist
  846. #define EXTRA_LIB_SEARCH_PATH /usr/ucblib
  847. #define SEARCH_LIB_NEEDS_SPACE
  848. #define REQUIRED_LIBRARIES -lc -lucb
  849. #define HAVE_SYS_SIGLIST
  850. #define HAVE_SETLINEBUF
  851. #define HAVE_VFPRINTF
  852. #define HAVE_GETGROUPS
  853. #define HAVE_STRERROR
  854. #define VOID_SIGHANDLER
  855. #undef  HAVE_ALLOCA
  856. #undef    HAVE_ALLOCA_H
  857. #undef    USE_GNU_MALLOC
  858. #endif /* drs6000 */
  859.  
  860. /* ******************************************** */
  861. /*                        */
  862. /*  System V Release 4 on the Commodore Amiga   */
  863. /*                        */
  864. /* ******************************************** */
  865. #if defined (amiga)
  866. #define M_MACHINE "amiga"
  867. #define M_OS USG
  868. #define SYSDEP_CFLAGS -DUSGr4
  869. #if !defined (HAVE_GCC)
  870. #  define EXTRA_LIB_SEARCH_PATH /usr/ucblib
  871. #  define REQUIRED_LIBRARIES -lc -lucb
  872. #endif /* !HAVE_GCC */
  873. #define HAVE_SYS_SIGLIST
  874. #define HAVE_VFPRINTF
  875. #define VOID_SIGHANDLER
  876. #define HAVE_GETGROUPS
  877. #define HAVE_STRERROR
  878. #undef HAVE_GETWD
  879. #undef USE_GNU_MALLOC
  880. #endif /* System V Release 4 on amiga */
  881.  
  882. /* ************************ */
  883. /*                */
  884. /*        clipper        */
  885. /*                */
  886. /* ************************ */
  887. /* This is for the Orion 1/05 (A BSD 4.2 box based on a Clipper processor) */
  888. #if defined (clipper)
  889. #define M_MACHINE "clipper"
  890. #define M_OS Bsd
  891. #define HAVE_SETLINEBUF
  892. #define HAVE_GETGROUPS
  893. #endif  /* clipper */
  894.  
  895.  
  896. /* ******************************** */
  897. /*                    */
  898. /*    Integrated Solutions 68020?   */
  899. /*                    */
  900. /* ******************************** */
  901. #if defined (is68k)
  902. #define M_MACHINE "is68k"
  903. #define M_OS Bsd
  904. #undef HAVE_ALLOCA
  905. #define HAVE_SYS_SIGLIST
  906. #define HAVE_SETLINEBUF
  907. #define HAVE_GETGROUPS
  908. #endif /* is68k */
  909.  
  910. /* ******************************** */
  911. /*                    */
  912. /*       Omron Luna/Mach 2.5        */
  913. /*                    */
  914. /* ******************************** */
  915. #if defined (luna88k)
  916. #define M_MACHINE "Luna88k"
  917. #define M_OS Bsd
  918. #define HAVE_SYS_SIGLIST
  919. #define USE_GNU_MALLOC
  920. #define HAVE_SETLINEBUF
  921. #define HAVE_VFPRINTF
  922. #define HAVE_GETGROUPS
  923. #endif  /* luna88k */
  924.  
  925. /* **************************************** */
  926. /*                        */
  927. /*        Apollo/SR10.2/BSD4.3        */
  928. /*                        */
  929. /* **************************************** */
  930. /* This is for the Apollo DN3500 running SR10.2 BSD4.3 */
  931. #if defined (apollo)
  932. #define M_MACHINE "apollo"
  933. #define M_OS Bsd
  934. #define SYSDEP_CFLAGS -D_POSIX_VERSION -D_INCLUDE_BSD_SOURCE -D_INCLUDE_POSIX_SOURCE -DTERMIOS_MISSING -DBSD_GETPGRP -Dpid_t=int
  935. #define HAVE_SYS_SIGLIST
  936. #define HAVE_SETLINEBUF
  937. #define HAVE_GETGROUPS
  938. #endif  /* apollo */
  939.  
  940. /* ************************ */
  941. /*                */
  942. /*    DG AViiON        */
  943. /*                */
  944. /* ************************ */
  945. /* This is for the DG AViiON box (runs DG/UX with both AT&T & BSD features.) */
  946. #if defined (__DGUX__) || defined (DGUX)
  947. #define M_MACHINE "AViiON"
  948. #define M_OS USG
  949. #undef HAVE_GETWD
  950. #define SYSDEP_CFLAGS -D_DGUX_SOURCE -DPGRP_PIPE /* -D_M88K_SOURCE */
  951. /* DG/UX comes standard with gcc. */
  952. #define HAVE_GCC
  953. #define HAVE_FIXED_INCLUDES
  954. #define HAVE_STRERROR
  955. #define HAVE_GETGROUPS
  956. #define VOID_SIGHANDLER
  957. #undef USE_GNU_MALLOC
  958.  
  959. /* If you want to build bash for M88K BCS compliance on a DG/UX 5.4
  960.    or above system, do the following:
  961.  
  962.      - Add -D_M88K_SOURCE to SYSDEP_CFLAGS above.
  963.      - Before running "make" type: "eval `sde-target m88kbcs`" to set
  964.        the software development environment to build BCS objects. */
  965. #endif /* __DGUX__ */
  966.  
  967. /* ************************ */
  968. /*                          */
  969. /*          XD88            */
  970. /*                          */
  971. /* ************************ */
  972. #if defined (m88k) && !defined (M_MACHNE)
  973. #define M_MACHINE "XD88"
  974. #define M_OS USG
  975. #define HAVE_VPRINTF
  976. #undef HAVE_GETWD
  977. #undef HAVE_ALLOCA
  978. #endif /* XD88 && ! M_MACHINE */
  979.  
  980. /* ************************ */
  981. /*                */
  982. /*    Harris Night Hawk        */
  983. /*                */
  984. /* ************************ */
  985. /* This is for the Harris Night Hawk family. */
  986. #if defined (_CX_UX)
  987. #if defined (_M88K)
  988. # define M_MACHINE "nh4000"
  989. #else
  990. #  if defined (hcx)
  991. #    define M_MACHINE "nh2000"
  992. #  else
  993. #    if defined (gcx)
  994. #      define M_MACHINE "nh3000"
  995. #    endif
  996. #  endif
  997. #endif
  998. #define M_OS USG
  999. #define SYSDEP_CFLAGS -g -Xa -v -Dgetwd=bash_getwd -D_POSIX_SOURCE -D_POSIX_JOB_CONTROL
  1000. #define USE_TERMCAP_EMULATION
  1001. #define HAVE_VFPRINTF
  1002. #define HAVE_GETGROUPS
  1003. #define VOID_SIGHANDLER
  1004. #undef USE_GNU_MALLOC
  1005. #undef HAVE_GETWD
  1006. #endif
  1007.  
  1008. /* **************************************** */
  1009. /*                        */
  1010. /*            Tektronix                */
  1011. /*                        */
  1012. /* **************************************** */
  1013. /* These are unproven as yet. */
  1014. #if defined (Tek4132)
  1015. #define M_MACHINE "Tek4132"
  1016. #define M_OS Bsd
  1017. #define HAVE_SYS_SIGLIST
  1018. #define HAVE_SETLINEBUF
  1019. #define HAVE_GETGROUPS
  1020. #endif /* Tek4132 */
  1021.  
  1022. #if defined (Tek4300)
  1023. #define M_MACHINE "Tek4300"
  1024. #define M_OS Bsd
  1025. #define HAVE_SYS_SIGLIST
  1026. #define HAVE_SETLINEBUF
  1027. #define HAVE_GETGROUPS
  1028. #endif /* Tek4300 */
  1029.  
  1030. /* ************************ */
  1031. /*                */
  1032. /*     Sequent Balances     */
  1033. /*       (Dynix 3.x)        */
  1034. /* ************************ */
  1035. #if defined (sequent) && !defined (M_MACHINE)
  1036. #define M_MACHINE "Sequent"
  1037. #define M_OS Bsd
  1038. #undef HAVE_DUP2
  1039. #define HAVE_SYS_SIGLIST
  1040. #define HAVE_SETLINEBUF
  1041. #define HAVE_GETGROUPS
  1042. #endif /* sequent */
  1043.  
  1044. /* ****************************************** */
  1045. /*                          */
  1046. /*    NCR Tower 32, System V Release 3          */
  1047. /*                          */
  1048. /* ****************************************** */
  1049. #if defined (tower32)
  1050. #define M_MACHINE "tower32"
  1051. #define M_OS USG
  1052. #if !defined (HAVE_GCC)
  1053. #  define REQUIRED_LIBRARIES -lPW
  1054.    /* Disable stack/frame-pointer optimization, incompatible with alloca */
  1055. #  define SYSDEP_CFLAGS -DUSGr3 -W2,-aat
  1056. #else
  1057. #  define SYSDEP_CFLAGS -DUSGr3
  1058. #endif /* !HAVE_GCC */
  1059. #define HAVE_VFPRINTF
  1060. #define USE_TERMCAP_EMULATION
  1061. #define VOID_SIGHANDLER
  1062. #undef HAVE_GETWD
  1063. #endif /* tower32 */
  1064.  
  1065. /* ************************ */
  1066. /*                */
  1067. /*    Ardent Titan OS v2.2  */
  1068. /*                */
  1069. /* ************************ */
  1070. #if defined (ardent)
  1071. #define M_MACHINE "Ardent Titan"
  1072. #define M_OS Bsd
  1073. #if !defined (titan)
  1074. #  define HAVE_GETGROUPS
  1075. #endif
  1076. #define HAVE_SYS_SIGLIST
  1077. #define HAVE_SETLINEBUF
  1078. #define SYSDEP_CFLAGS -43 -w
  1079. #define SYSDEP_LDFLAGS -43
  1080. #undef HAVE_ALLOCA
  1081. #undef USE_GNU_MALLOC
  1082. #undef HAVE_VFPRINTF
  1083. #endif /* ardent */
  1084.  
  1085. /* ************************ */
  1086. /*                */
  1087. /*      Stardent        */
  1088. /*                */
  1089. /* ************************ */
  1090. #if defined (stardent) && !defined (M_MACHINE)
  1091. #define M_MACHINE "Stardent"
  1092. #define M_OS USG
  1093. #undef HAVE_GETWD
  1094. #undef HAVE_ALLOCA
  1095. #define HAVE_SYS_SIGLIST
  1096. #define USE_TERMCAP_EMULATION
  1097. #define VOID_SIGHANDLER
  1098. #endif /* stardent */
  1099.  
  1100. /* ************************ */
  1101. /*                */
  1102. /*    Concurrent        */
  1103. /*                */
  1104. /* ************************ */
  1105. #if defined (concurrent)
  1106. /* Use the BSD universe (`universe ucb') */
  1107. #define M_MACHINE "Concurrent"
  1108. #define M_OS Bsd
  1109. #define HAVE_SYS_SIGLIST
  1110. #define HAVE_SETLINEBUF
  1111. #define HAVE_GETGROUPS
  1112. #endif /* concurrent */
  1113.  
  1114.  
  1115. /* **************************************************************** */
  1116. /*                                                                  */
  1117. /*             Honeywell Bull X20 (lele@idea.sublink.org)        */
  1118. /*                                                                  */
  1119. /* **************************************************************** */
  1120. #if defined (hbullx20)
  1121. #define M_MACHINE "Honeywell"
  1122. #define M_OS USG
  1123. #define SYSDEP_CFLAGS -DUSG
  1124. /* Bull x20 needs -lposix for struct dirent. */
  1125. #define REQUIRED_LIBRARIES -lPW -lposix
  1126. #define HAVE_VFPRINTF
  1127. #define VOID_SIGHANDLER
  1128. #define USE_TERMCAP_EMULATION
  1129. #undef HAVE_GETWD
  1130. #endif  /* hbullx20 */
  1131.  
  1132. /* ************************ */
  1133. /*                */
  1134. /*    Cadmus (tested once)  */
  1135. /*                */
  1136. /* ************************ */
  1137. #if defined (cadmus) && !defined (M_MACHINE)
  1138. #define M_MACHINE "cadmus"
  1139. #define M_OS BrainDeath        /* By Far, the worst yet. */
  1140. #define SYSDEP_CFLAGS -DUSG
  1141. #define HAVE_VFPRINTF
  1142. #define VOID_SIGHANDLER
  1143. #define USE_TERMCAP_EMULATION
  1144. #undef HAVE_GETWD
  1145. #undef HAVE_ALLOCA
  1146. #endif  /* cadmus */
  1147.  
  1148. /* ************************ */
  1149. /*                */
  1150. /*    MagicStation        */
  1151. /*                */
  1152. /* ************************ */
  1153. #if defined (MagicStation)
  1154. #define M_MACHINE "MagicStation"
  1155. #define M_OS USG
  1156. #define SYSDEP_CFLAGS -DUSGr4
  1157. #define HAVE_GETGROUPS
  1158. #define HAVE_STRERROR
  1159. #define VOID_SIGHANDLER
  1160. #undef HAVE_ALLOCA
  1161. #undef HAVE_GETWD
  1162. #endif /* MagicStation */
  1163.  
  1164. /* **************************************************************** */
  1165. /*                                    */
  1166. /*            Generic Entry                   */
  1167. /*                                    */
  1168. /* **************************************************************** */
  1169.  
  1170. /* Use this entry for your machine if it isn't represented here.  It
  1171.    is loosely based on a Vax running Bsd. */
  1172.  
  1173. #if !defined (M_MACHINE)
  1174. #define UNKNOWN_MACHINE
  1175. #endif
  1176.  
  1177. #ifdef UNKNOWN_MACHINE
  1178. #define M_MACHINE "UNKNOWN_MACHINE"
  1179. #define M_OS UNKNOWN_OS
  1180.  
  1181. /* Required libraries for building on this system. */
  1182. #define REQUIRED_LIBRARIES
  1183.  
  1184. /* Define HAVE_SYS_SIGLIST if your system has sys_siglist[]. */
  1185. #define HAVE_SYS_SIGLIST
  1186.  
  1187. /* Undef HAVE_ALLOCA if you are not using Gcc, and neither your library
  1188.    nor compiler has a version of alloca ().  In that case, we will use
  1189.    our version of alloca () in alloca.c */
  1190. /* #undef HAVE_ALLOCA */
  1191.  
  1192. /* Undef USE_GNU_MALLOC if there appear to be library conflicts, or if you
  1193.    especially desire to use your OS's version of malloc () and friends.  We
  1194.    reccommend against this because GNU Malloc has debugging code built in. */
  1195. #define USE_GNU_MALLOC
  1196.  
  1197. /* Define USE_GNU_TERMCAP if you want to use the GNU termcap library
  1198.    instead of your system termcap library. */
  1199. /* #define USE_GNU_TERMCAP */
  1200.  
  1201. /* Define HAVE_SETLINEBUF if your machine has the setlinebuf ()
  1202.    stream library call.  Otherwise, setvbuf () will be used.  If
  1203.    neither of them work, you can edit in your own buffer control
  1204.    based upon your machines capabilities. */
  1205. #define HAVE_SETLINEBUF
  1206.  
  1207. /* Define HAVE_VFPRINTF if your machines has the vfprintf () library
  1208.    call.  Otherwise, printf will be used.  */
  1209. #define HAVE_VFPRINTF
  1210.  
  1211. /* Define HAVE_GETGROUPS if your OS allows you to be in multiple
  1212.    groups simultaneously by supporting the `getgroups' system call. */
  1213. /* #define HAVE_GETGROUPS */
  1214.  
  1215. /* Define SYSDEP_CFLAGS to be the flags to cc that make your compiler
  1216.    work.  For example, `-ma' on the RT makes alloca () work. */
  1217. #define SYSDEP_CFLAGS
  1218.  
  1219. /* Define HAVE_STRERROR if your system supplies a definition for strerror ()
  1220.    in the C library, or a macro in a header file. */
  1221. /* #define HAVE_STRERROR */
  1222.  
  1223. /* If your system does not supply /usr/lib/libtermcap.a, but includes
  1224.    the termcap routines as a part of the curses library, then define
  1225.    this.  This is the case on some System V machines. */
  1226. /* #define USE_TERMCAP_EMULATION */
  1227.  
  1228. /* Define VOID_SIGHANDLER if your system's signal () returns a pointer to
  1229.    a function returning void. */
  1230. /* #define VOID_SIGHANDLER */
  1231.  
  1232. /* Define EXTRA_LIB_SEARCH_PATH if your required libraries (or standard)
  1233.    ones for that matter) are not normally in the ld search path.  For
  1234.    example, some machines require /usr/ucblib in the ld search path so
  1235.    that they can use -lucb. */
  1236. /* #define EXTRA_LIB_SEARCH_PATH /usr/ucblib */
  1237.  
  1238. /* Define SEARCH_LIB_NEEDS_SPACE if your native ld requires a space after
  1239.    the -L argument, which gives the name of an alternate directory to search
  1240.    for libraries specified with -llib.  For example, the HPUX ld requires
  1241.    this:
  1242.        -L lib/readline -lreadline
  1243.    instead of:
  1244.     -Llib/readline -lreadline
  1245.  */
  1246. /* #define SEARCH_LIB_NEEDS_SPACE */
  1247.  
  1248. #endif  /* UNKNOWN_MACHINE */
  1249.